package com.tac.service.wms;

import com.tac.common.result.Result;
import com.tac.pojo.wms.MaterialType;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface MaterialTypeService {

    //查看分类列表
    public Result<List<MaterialType>> getList(Integer parentId);

    public Result update(MaterialType materialType);
    public Result save(MaterialType materialType);

    @Transactional
    public Result remove(List<Integer> ids);


}
